package org.system.core.mapper.system;

import org.apache.ibatis.annotations.Mapper;
import org.system.core.domain.entity.SysPost;

import java.util.List;

/**
* @author baoRoot
* @description 针对表【sys_post(岗位信息表)】的数据库操作Mapper
* @createDate 2024-11-05 14:17:49
* @Entity org.system.core.domain.entity.SysPost
*/
@Mapper
public interface SysPostMapper {
    int deletePostByIds(Long[] postIds);
    int updatePost(SysPost post);
    int insertPost(SysPost post);
    SysPost checkPostCodeUnique(String postCode);
    SysPost checkPostNameUnique(String postName);
    SysPost selectPostById(Long postId);
    List<SysPost> selectPostList(SysPost post);
    List<SysPost> selectPostAll();
    List<Long> selectPostListByUserId(Long userId);
    List<SysPost> selectPostLists(Long userId);
}




